package com.example.springbott.bean.silic;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author silic xia
 * @since 2022/11/21 20:27
 */
@NoArgsConstructor
@Data
public class MarketCategoryVo {

    @JsonProperty("id")
    private Integer id;
    @JsonProperty("name")
    private String name;
    @JsonProperty("keywords")
    private String keywords;
    @JsonProperty("desc")
    private String desc;
    @JsonProperty("pid")
    private Integer pid;
    @JsonProperty("iconUrl")
    private String iconUrl;
    @JsonProperty("picUrl")
    private String picUrl;
    @JsonProperty("level")
    private String level;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonProperty("addTime")
    private String addTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonProperty("updateTime")
    private String updateTime;
}

